<script type="text/javascript" src="${base}/scripts/kcgl/rksh.js"></script>
<div id="layout_rksh" class="easyui-layout" data-options="fit:true" style="width: 100%;height: 100%">
    <div id="toolbar_rksh">
        <div class="PTools">
            <ul class="niu">
            <#--<li>-->
            <#--<a id="btn_rksh_ys" href="javascript:void(0);" plain="true" style="display: none">验收</a>-->
            <#--</li>-->
            <#--<li>-->
            <#--<a id="btn_rksh_stock" href="javascript:void(0);" plain="true" style="display: none"-->
            <#-->入库</a>-->
            <#--</li>-->
            <#--<li>-->
            <#--<a id="btn_rksh_cancel_ys" href="javascript:void(0);" class="del" plain="true" style="display: none">取消验收</a>-->
            <#--</li>-->
            <#--<li><a id="btn_rksh_bccgd" href="javascript:void(0);" plain="true" style="display: none">生成补充采购单</a>-->
                <li>
                    <a id="btn_rksh_zcstock" href="javascript:void(0);" plain="true" style="display: none">正常入库</a>
                </li>
            <#if gnczList??>
                <#list gnczList as gncz>
                    <li>${(gncz.gnczHtml)!}</li>
                </#list>
            </#if>
            </ul>
            <div class="sea-tool"><a href="javascript:void(0);"><span>高级搜索</span></a></div>
        </div>
        <div class="textcon">
            <table class="tb">
                <tr>
                    <th>状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：</th>
                    <td>
                        <select class="easyui-combobox searchinput-text" data-options="panelHeight:'125'"
                                name="queryRksh.zt">
                            <option value="false">未入库</option>
                            <option value="true">已入库</option>
                            <option value="">全部</option>
                        </select>
                    </td>
                    </td>
                    <th>采购公司：</th>
                    <td><input id="queryRksh_cggs" name="queryRksh.cggs" type="text"
                               class="easyui-combotree searchinput-text"
                               data-options="valueField:'id',textField:'jc',editable:'true'"/>
                    </td>
                    <th>采购部门：</th>
                    <td><input id="queryRksh_cgbm" name="queryRksh.cgbm" type="text"
                               class="easyui-combobox searchinput-text"
                               data-options="valueField:'id',textField:'jc',editable:'true'"/>
                    </td>
                </tr>
                <tr>
                    <th>采&nbsp;购&nbsp;人：</th>
                    <td><input id="queryRksh_cgr" name="queryRksh.cgr" type="text"
                               class="easyui-combobox searchinput-text"
                               data-options="valueField:'id',textField:'xm'"/></td>
                    <th>类&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;型：</th>
                    <td>
                        <select class="easyui-combobox searchinput-text" data-options="panelHeight:'100'"
                                name="queryRksh.lx">
                            <option value="">全部</option>
                           <#-- <option value="bght">保供采购</option>-->
                            <option value="cgrk">采购入库</option>
                            <option value="zddh">直达到货</option>
                        </select>
                    </td>
                    <th>采购单号：</th>
                    <td><input name="queryRksh.cgdh" type="text" class="searchinput-text"></td>
                </tr>
                <tr>
                    <th>供&nbsp;应&nbsp;商：</th>
                    <td>
                        <select class="searchinput-text" name="queryRksh.gys">
                        </select>
                    </td>
                    <th>物资编号：</th>
                    <td><input name="queryRksh.wzbm" type="text" class="searchinput-text"></td>
                    <#--<th>验&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;收：</th>
                    <td>
                        <select class="easyui-combobox searchinput-text" data-options="panelHeight:'125'"
                                name="queryRksh.sfys">
                            <option value="">全部</option>
                            <option value="false">未验收</option>
                            <option value="true">已验收</option>
                        </select>
                    </td>-->
                </tr><#---->
                <tr>
                    <th>到货仓库：</th>
                    <td><input id="queryRksh_dhck" name="queryRksh.dhck" type="text"
                               class="easyui-combobox searchinput-text"></td>
                    <th>入库时间：</th>
                    <td><input id="queryRksh_start" name="queryRksh.rksj" type="text" style="width:150px;"
                               class="easyui-datebox" value=""/></td>
                    <td align="center">至</td>
                    <td><input id="queryRksh_end" name="queryRksh.rksj" type="text" style="width:150px;"
                               class="easyui-datebox" value=""/></td>
                </tr>
                <tr>
                    <th>是否过期：</th>
                    <td>
                        <select name="queryRksh.sfgq" class="easyui-combobox" style="width:150px;"
                                style="width:166px;" data-options="panelHeight:'150'">
                            <option value="0">全部</option>
                            <option value="1" selected="selected">未过期</option>
                            <option value="2">已过期</option>
                        </select>
                    </td>
                    <td style=" padding-left:5px;"><input id="btn_rksh_search" type="button" value=""
                                                          class="submit"/></td>
                </tr>
            </table>
        </div>
    </div>
    <table id="grid_rksh"
           toolbar="#toolbar_rksh" pagination="true"
           rownumbers="true"
           fitColumns="true" singleSelect="true" fit="true">
    </table>
</div>